package com.soulkun.smarthome.ui.main.scene.viewmodel

import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.soulkun.smarthome.logic.model.AutoData
import com.soulkun.smarthome.logic.model.ConditionData
import com.soulkun.smarthome.logic.model.JobData
import com.soulkun.smarthome.logic.model.OnekeyData

class AppMainSceneOnekeyViewModel : ViewModel() {

    val onekeyListLiveData = MutableLiveData<ArrayList<OnekeyData>>()

    init {
        onekeyListLiveData.value = arrayListOf(
            OnekeyData(1, arrayListOf(JobData(1, "工作1"))),
            OnekeyData(2, arrayListOf(JobData(1, "工作1"), JobData(4, "工作4444444444444444444444444"))),
            OnekeyData(3, arrayListOf(JobData(2, "工作2"))),
            OnekeyData(4, arrayListOf(JobData(3, "工作3"))),
        )
    }

}